home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / disktime.zip / DISKTIME.DOC < prev    next >
Text File  |  1985-11-03  |  4KB  |  107 lines

  1.  
  2.                              DISKTIME.PAS
  3.                              ------------
  4.  
  5.     Program DISKTIME is used to measure the average access time on the
  6. IBM-PC/XT and the IBM-PC/AT fixed disk.  It is written in Turbo Pascal 3.0 as
  7. distributed by Borland International, 4585 Scotts Valley Drive, Scotts Valley,
  8. California, USA, 95066.  This program will not destroy the data residing on
  9. your hard disk(s), and communicates solely through BIOS service interrupt 13h.
  10. Comparison times are from Table 5, Page 171, No 11, Vol 10 (Nov 85) of BYTE
  11. and are increased by 8.33 milliseconds to compensate for disk latency.  If you
  12. have problems on a compatible, then it is not as compatible as you thought...
  13.  
  14.     Permission is freely given by the Author of this program to distribute
  15. copies of the UNMODIFIED program as you see fit.  Please note that you will
  16. have to run ARC(hive) (included) to extract the sources from the library.  Here
  17. is how you should proceed to generate a copy from sources
  18.  
  19.     N>arc e disktime                    - Extract all sources
  20.     N>turbo
  21.         TURBO PASCAL SYSTEM       VERSION N.NN
  22.  
  23.         COPYRIGHT (C) 1983,1984,1985 BY BORLAND INC
  24.  
  25.         INCLUDE ERROR MESSAGES (Y/N)? y      - Want diagnostics
  26.  
  27.         LOGGED DRIVE: N
  28.  
  29.         WORK FILE:
  30.         MAIN FILE:
  31.  
  32.         EDIT      COMPILE  RUN    SAVE
  33.     DIR       QUIT  COMPILER  OPTIONS
  34.  
  35.         >O                                   - Option change
  36.         COMPILE -> MEMORY
  37.                    COM-FILE
  38.                    CHN-FILE
  39.  
  40.         COMMAND LINE PARAMETER
  41.         c                                    - Compile to disk
  42.     COMMAND LINE PARAMETER
  43.         q                                    - Main menu
  44.  
  45.     LOGGED DRIVE: N
  46.  
  47.     WORK FILE:
  48.     MAIN FILE:
  49.  
  50.     EDIT      COMPILE  RUN    SAVE  
  51.     DIR       QUIT  COMPILER  OPTIONS
  52.  
  53.         >c                                   - Compile program
  54.         WORK FILE: disktime                  - Enter name
  55.  
  56.         COMPILING --> N:\DISKTIME.PAS
  57.  
  58.         LOGGED DRIVE: N
  59.  
  60.         WORK FILE:
  61.         MAIN FILE:
  62.  
  63.         EDIT      COMPILE  RUN    SAVE
  64.     DIR       QUIT  COMPILER  OPTIONS
  65.  
  66.         q                                    - Exit Turbo Pascal
  67.  
  68.     N>
  69.  
  70. The reason I wrote DISKTIME was to demonstrate how significant the access
  71. time is on a small computer system, and to encourage the development of
  72. a stand-alone utility which would compensate for this.  Please note that
  73. MS-DOS allocates file space in "Clusters" of 2k blocks each, which are not
  74. necessarily consecutive.  After you have been using your hard disk for
  75. a while, sequential file clusters will probably be scattered at random
  76. throughout your hard disk, and the time to load a file or program will
  77. therefore be approximately equal to (ACCESS TIME) * (NUMBER of CLUSTERS)
  78. For the 100 kilobyte Microsoft assembler, this works out to a potential
  79. of (73.3 milliseconds)*(50 clusters) or approximately four (4) seconds
  80. on the IBM-PC/AT !!!  Hence the urgency in my appeal for de-fragmenters.
  81. Ideally such a disk optimization facility would be well-behaved, in that
  82.  o It would be stand-alone, not requiring operator intervention
  83.  o It would require no additional peripherals such as floppies or tape
  84.  o It would not require scratch space on the disk being optimized
  85.  o It would leave the disk in a usable state after abnormal termination
  86.  
  87. Finally, I should like to thank the authors of the ARC(hive) librarian
  88.  
  89.     System Enhancement Associates
  90.     21 New Street
  91.     Wayne, N.J.
  92.     USA     07470
  93.  
  94. and to note that it is easier to use, friendlier, and produces smaller files
  95. than the LU utility which the Turbo users group currently supports...
  96.  
  97.                                   Sincerely,
  98.  
  99.                                   Y.N. Miles
  100.                                   c/o TRIUMF
  101.                                   4004 Wesbrook Mall
  102.                                   Vancouver, B.C.
  103.                                   Canada, V5Y 1Z7
  104.  
  105.                                   Ph (604) 222-1047
  106.  
  107.